/*订单*/
import Layout from '@/layout'

const ordersRouter = [
    {
        path: '/orders',
        component: Layout,
        redirect: '/orders/ordersIndex',
        alwaysShow: true,
        name: 'orders',
        meta: {
            title: '订单管理',
            roles: ['admin', 'editor'],
            icon: 'el-icon-arrow-right'
        },
        children: [
            /*订单管理*/
            {
                path: 'ordersIndex',
                component: () => import('@/views/orders/index'),
                name: 'ordersIndex',
                meta: { title: '订单管理' }
            },
        ]
    }
]

export default ordersRouter
